const odooModelName = 'account.payment'
const values_default = {
  payment_type: 'inbound',
  partner_type: 'customer'
}

const fields_default = {}

const detail_columns = [
  'payment_type__name',
  'partner_type__name',
  'company_id__name',
  'partner_id__name',
  'state__name',
  'name',
  'payment_date',
  'journal_id__name',
  'payment_method_id__name',
  'amount',
  'communication'
]

const formItems = [
  'partner_id',
  'payment_date',
  'payment_method_id',
  'journal_id',
  'amount',
  'communication'
]

const Model = {
  name: odooModelName,

  configs: {
    values_default,
    fields_default,
    detail_columns,
    formItems,
    handle: {
      edit: { hidden: true }
    }
  }
}
export default Model
